package de.damontools.awolowa.gui;

import java.util.ArrayList;

import de.damontools.awolowa.R;
import de.damontools.awolowa.application.Log;
import de.damontools.awolowa.application.LogAdapter;

import android.os.Bundle;
import greendroid.app.GDListActivity;

public class LogActivity extends GDListActivity {

	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setTitle(R.string.title_log);
		
		LogAdapter log =new LogAdapter(this, R.layout.activity_log, (ArrayList<Log>)Log.getList());
		
		setListAdapter(log);
		
	}
}
